package cn.bonoon.controllers.fmm;

import cn.bonoon.kernel.annotations.Cutoff;
import cn.bonoon.kernel.web.annotations.WithDialog;
import cn.bonoon.kernel.web.annotations.components.AsHidden;
import cn.bonoon.kernel.web.annotations.components.AsTabs;
import cn.bonoon.kernel.web.annotations.components.TabHome;
import cn.bonoon.kernel.web.annotations.components.TabItem;
import cn.bonoon.kernel.web.annotations.components.TabItem.TabItemType;
import cn.bonoon.kernel.web.annotations.components.TabPosition;
import cn.bonoon.kernel.web.annotations.form.FormDetail;
import cn.bonoon.kernel.web.annotations.form.PropertyDetail;

@WithDialog(width = 840, height = 580)
@FormDetail(value = 2, headWidth = 120)
@TabHome(name = "域信息")
@AsTabs(tabPosition = TabPosition.LEFT, value = {
	@TabItem(name = "登录账号", value = "accounts.do", type = TabItemType.HREF)
})
public class OwnerDetail implements OwnerDefine {

	@AsHidden
	private Long id;
	
	@PropertyDetail(0)
	@Cutoff(-1)
	private String name;
	
	@PropertyDetail(1)
	private String status;
	
	@PropertyDetail(2)
	private String createAt;
	
	@PropertyDetail(3)
	private String creatorName;
	
	@PropertyDetail(4)
	private String updateAt;
	
	@PropertyDetail(5)
	private String updaterName;
	
	@PropertyDetail(value = 6, colspan = 1)
	private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getUpdateAt() {
		return updateAt;
	}

	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}

	public String getUpdaterName() {
		return updaterName;
	}

	public void setUpdaterName(String updaterName) {
		this.updaterName = updaterName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
